﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAL;
using System.Data;

namespace BLL
{
    public class Sys_PageBLL
    {
        public static DataTable GetSubMenu(Sys_Page page)
        {
            Sys_PageDAO dao = new Sys_PageDAO();
            return dao.GetSubMenu(page,1);
        }
        public static DataTable LoadMenuLeft(Sys_Page page)
        {
            Sys_PageDAO dao = new Sys_PageDAO();
            return dao.GetSubMenu(page, 2);
        }
        public static DataTable SetActiveMenu(Sys_Page page)
        {
            Sys_PageDAO dao = new Sys_PageDAO();
            return dao.GetSubMenu(page, 3);
        }
    }
}
